Running snapcraft 3 w/ core18 base in docker incorrectly reports missing lib deps
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
When building a snap using snapcraft 3.X in a docker container and specifying `base: core18`, snapcraft doesn't attempt to install the core18 snap which is fine since we build inside a ubuntu:18.04 container and have all the needed dependencies, however it then proceeds to claim that executables in the snap need dependencies that are not present in the snap or the base snap. However this is incorrect as all the required libraries are actually in the base snap. For example, when building curl:
```
Priming curl
The 'curl' part needs the following libraries that are not included in the snap or base:
lib/x86_64-linux-gnu/libc.so.6
lib/x86_64-linux-gnu/libcrypt.so.1
lib/x86_64-linux-gnu/libdl.so.2
lib/x86_64-linux-gnu/libm.so.6
lib/x86_64-linux-gnu/libpthread.so.0
lib/x86_64-linux-gnu/libresolv.so.2
lib/x86_64-linux-gnu/libz.so.1
```
All of which are in the core18 snap.
Evaluation history
No evaluation history available.